<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="shortcut icon" href="${path }/resource/images/favicon.ico">
<!--[if lt IE 9]>
<script type="text/javascript" src="${path }/resource/plugin/hui/lib/html5.js"></script>
<script type="text/javascript" src="${path }/resource/plugin/hui/lib/respond.min.js"></script>
<script type="text/javascript" src="${path }/resource/plugin/hui/lib/PIE_IE678.js"></script>
<![endif]-->


<!-- 本框架基本脚本和样式 -->
<script type="text/javascript"
	src="${path }/resource/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript"
	src="${path }/resource/js/systools/EXBase.js"></script>
<!--[if IE 6]>
<script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->

<link rel="stylesheet" type="text/css"
	href="${path }/resource/css/visitor/main.css">
<link rel="stylesheet" type="text/css"
	href="${path }/resource/css/visitor/ejym.css">
<link rel="stylesheet" type="text/css"
	href="${path }/resource/css/visitor/index.css">
<link rel="stylesheet" type="text/css"
	href="${path }/resource/plugin/slideBox/jquery.slideBox.css">
<script type="text/javascript"
	src="${path }/resource/plugin/slideBox/jquery.slideBox.js"></script>

<script type="text/javascript"
	src="${path }/resource/plugin/hui/lib/jquery.SuperSlide.2.1.1.js"></script>


<meta name="keywords" content="${webKeyWord}">
<meta name="description" content="${webDescription}" />

<c:choose>
	<c:when test="${art ne null }">
		<title>${art.name}${webTitle}</title>
	</c:when>
	<c:otherwise>
		<title>${cate.name}${webTitle}</title>
	</c:otherwise>
</c:choose>


</head>
<body>

	<!--导航栏-->
	<jsp:include page="_nav.jsp"></jsp:include>
	<div class="banner0 banner5">
	</div>

	<div class="center_box">
		<div class="center_left">
			<div class="left_title">
				<img src="${path }/resource/images/05.png">
				<ul class="list">
					<c:forEach var="item" items="${cateList }">
						<c:if test="${cate.id eq item.id }">
							<li class="list_current"><a
								href="${path }/visitor/news?cateId=${item.id}"> <b>-</b>
									${item.name}
							</a></li>
						</c:if>
						<c:if test="${cate.id ne item.id }">
							<li><a href="${path }/visitor/news?cateId=${item.id}"> <b>-</b>
									${item.name}
							</a></li>
						</c:if>
					</c:forEach>
				</ul>

				<div class="ly">
					<h4 class="ly_title">在线留言</h4>
					<div>
						<div class="lu_l">
							<span>如果您有任何问题和建议请及时与我们联系</span> <br> <b class="ly_title"><a
								href="${path }/visitor/message">GO >></a></b>
						</div>
						<img src="${path }/resource/images/bi.png">
					</div>
				</div>
			</div>
		</div>
		<div class="center_right">
			<div class="r_c_t">
				<div class="r_t">${obj.name }</div>
				<div class="r_mbx">
					<b class="c-red">> </b> 您现在位置：<a href="#">首页</a> > <a
						href="${path }/visitor/news">新闻资讯</a> > ${cate.name }
				</div>
			</div>
			<div class="r_c_c">
				<c:choose>
					<c:when test="${art ne null}">
						<h4 style="text-align: center;">${art.name }</h4>
						<p>${art.content }</p>
					</c:when>
					<c:otherwise>
						<ul class="ulll">
							<c:forEach var="item" items="${artList }">
								<li><a class="box3_article" target="_black"
									href="${path }/visitor/news?cateId=${cate.id}&artId=${item.id}">${item.name}</a><span
									class="time"> <fmt:formatDate pattern="yyyy-MM-dd"
											value="${item.time}" /></span></li>
							</c:forEach>
						</ul>
						<jsp:include page="_pageNav.jsp"></jsp:include>
					</c:otherwise>
				</c:choose>

			</div>

		</div>
	</div>


	<!--网站底部-->
	<jsp:include page="_foot.jsp"></jsp:include>



</body>
</html>
